# Description: Apache için Zeroconf modülü
# URL: http://0pointer.de/lennart/projects/mod_dnssd
# Packager: milisarge
# Depends on: avahi apache

_name=mod_dnssd
name=mod-dnssd
version=0.6
release=1

source=(http://0pointer.de/lennart/projects/${_name}/${_name}-${version}.tar.gz
        fix_undefined_reference.patch)
        
build() {
  cd ${_name}-$version
  patch -p1 < ${SRC}/fix_undefined_reference.patch
  ./configure --prefix=/usr --disable-lynx
  make
  install -D -m755 src/.libs/mod_dnssd.so ${PKG}/usr/lib/httpd/modules/mod_dnssd.so
}
  
